package com.aaa.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author Bean
 * @since 2021-09-07
 */
@Data
@ApiModel
@EqualsAndHashCode(callSuper = false)
@TableName("comment_praise")
public class CommentPraise implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty
    private Integer id;

    /**
     * 评论的id
     */
    @TableField("cid")
    @ApiModelProperty
    private Integer cid;

    /**
     * 用户主键
     */
    @TableField("uid")
    @ApiModelProperty
    private Integer uid;

    @TableField("times")
    @ApiModelProperty
    private Date times;

    /**
     * 状态
     */
    @TableField("state")
    @ApiModelProperty
    private Integer state;


}
